package vip.geeker.iotms.persistance.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DeviceParams extends PageParam implements Serializable {
    private static final long serialVersionUID = 8238087373279226411L;

    private Integer id;

    private String name;

    private BigDecimal minValue;

    private BigDecimal maxValue;

    private Integer typeId;

    private String unit;

    private Integer creator;

    private Date createTime;

    private Integer modifier;

    private Date lastUpdTime;

    @TableField(exist = false)
    private String typeName;
}
